#ifndef __kraw__Platform_h__
#define __kraw__Platform_h__

#ifdef _WIN32

#include <Windows.h>
#include <GLES2/gl2.h>
#include <EGL/egl.h>
#include "utils/winUtils.h"

#define  LOGI(...) WinUtils::win32_printf(__VA_ARGS__);
#define  LOGE(...) WinUtils::win32_printfe(__VA_ARGS__);

#endif

#ifdef ANDROID

#include <jni.h>
#include <android/log.h>
#include <android_native_app_glue.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include "android/androidUtils.h"
#include <sys/time.h>

#define  STRINGIFY(x) #x
#define  LOG_TAG    __FILE__ ":" STRINGIFY(__LINE__)
#define  LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO,LOG_TAG, __VA_ARGS__))
#define  LOGE(...) ((void)__android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__))

#endif

#endif
